package com.hmdp.mapper;

import com.hmdp.entity.VoucherOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface VoucherOrderMapper extends BaseMapper<VoucherOrder> {
     @Insert("insert into tb_voucher_order(id,user_id,voucher_id,pay_type,status,create_time,pay_time,use_time,refund_time,update_time )values (#{id},#{userId},#{voucherId},#{payType},#{status},#{createTime},#{payTime},#{useTime},#{refundTime},#{updateTime})")
     int insert(VoucherOrder voucherOrder);
}
